
if exist "updataAppPack.bin" (
	del /s/q updataAppPack.bin
)

if exist "updataAppPack.bin" (
	rmdir /q updataAppPack.bin
)

if "%1" == "" (fromelf.exe --bin -o updataAppPack.bin *.axf)
fromelf.exe --bin -o updataAppPack.bin %1
fromelf.exe --bin -o updataAppPack.bin %1\*.axf
